﻿@using wUniApp.MVC.Helpers;

@if (IsPost)
{
  if (!Request["btSK"].IsEmpty())
  {
    wLangHelper.SetLanguage(Request["btSK"].ToString(), Request.Url.AbsoluteUri);
  }
  if (!Request["btEN"].IsEmpty())
  {
    wLangHelper.SetLanguage(Request["btEN"].ToString(), Request.Url.AbsoluteUri);
  }
}

<form method="post" action="#" style="position:absolute;right:10px; top:10px;">
  <input type="submit" style="background-image: url('/Images/sk.png'); border: 0px; text-indent: -9999px;width:24px;height:24px" value="sk" name="btSK" id="btSK" />
  <input type="submit" style="background-image: url('/Images/en.png'); border: 0px; text-indent: -9999px;width:24px;height:24px" value="en" name="btEN" id="btEN" />
</form>


